package com.hzit.pay.center.controller;

import com.hzit.pay.center.service.IReconService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * 对账入口
 */
@RestController
public class ReconController {

    @Autowired
    private IReconService reconService;

    /**
     * 对账入口
     * @param channel
     * @param reconDate
     */
    @RequestMapping(value = "/recon",method = RequestMethod.POST)
    public void recon(String channel,String reconDate){

        //执行对账
        reconService.recon(channel,reconDate);


    }

}
